package com.camus.verify.bo;

import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

@Data
public class TargetSumParam {

	private List<BigDecimal> leftCandidateList;
	private List<BigDecimal> rightCandidateList;
	private BigDecimal targetSum;
	private BigDecimal tolerance;

	public static TargetSumParam of(List<BigDecimal> leftCandidateList, List<BigDecimal> rightCandidateList,
			BigDecimal targetSum, BigDecimal tolerance) {
		TargetSumParam param = new TargetSumParam();
		param.leftCandidateList = leftCandidateList;
		param.rightCandidateList = rightCandidateList;
		param.targetSum = targetSum;
		param.tolerance = tolerance;
		return param;
	}

}
